// 获取人员列表
import {request} from "./request";

export const getUserList = (data) => request({
    url: '/merchant_personnel/list',
    data
})

// 添加人员
export const addUser = (data) => request({
    url: '/merchant_personnel/create',
    data
})
// 编辑人员
export const editUser = (data) => request({
    url: '/merchant_personnel/update',
    data
})

// 职位列表
export const getPositionList = (data) => request({
    url: '/merchant_personnel_position/list',
    data
})
// 删除人员
export const deleteUser = (data) => request({
    url: '/merchant_personnel/delete',
    data
})